{template header}
        <!--{if $ad0}-->
        <div id="main">{$ad0['code']}</div>
        <!--{/if}-->
<div class="cru">
<!--{if $ad}-->
<div id="ad7" align="left">{$ad['code']}</div><br />
<!--{/if}-->
	<a href="{SITE_URL}">{$setting['site_name']}</a> 
	<!--{loop $navlist $nav}-->
	 &gt;&gt; <a href="{url category/view/$nav['id']}">{$nav['name']}</a>  
	<!--{/loop}-->
	&gt;&gt; {$category['name']}
	</div>
<div class="listBody">
	<div class="block">
		<div class="title">
			<h3>{$category['name']}</h3>
		</div>
		<div class="keyList subKeyList">
			<ul>
			<!--{loop $sublist $index $sub}-->
				<!--{if !($index%4)}--><tr><!--{/if}-->
				<!--{if $sub['id']==$cid}-->
					<li><b>{$sub['name']}({$sub['questions']})</b></li>
				<!--{else}-->
					<li><a href="{url category/view/$sub['id']}">{$sub['name']}</a>({$sub['questions']})</li>
				<!--{/if}-->
			<!--{/loop}-->
			</ul>
		</div>
	</div>
	<div class="tag2">
		<ul>
			<!--{if -1==$status}--><li class="on"><h3>全部问题</h3></li><!--{else}--><li  class><a href="{url category/view/$cid/-1}"><h3>全部问题</h3></a></li><!--{/if}-->
			<!--{if 1==$status}--><li class="on"><h3>待解决</h3></li><!--{else}--><li  class><a href="{url category/view/$cid/1}"><h3>待解决</h3></a></li><!--{/if}-->
			<!--{if 2==$status}--><li class="on"><h3>已解决</h3></li><!--{else}--><li class><a href="{url category/view/$cid/2}"><h3>已解决</h3></a></li><!--{/if}-->
			<!--{if 3==$status}--><li class="on"><h3>投票中</h3></li><!--{else}--><li class><a href="{url category/view/$cid/3}"><h3>投票中</h3></a></li><!--{/if}-->
			<!--{if 4==$status}--><li class="on"><h3>高分</h3></li><!--{else}--><li class><a href="{url category/view/$cid/4}"><h3>高分</h3></a></li><!--{/if}-->
			<!--{if 5==$status}--><li class="on"><h3>零回答</h3></li><!--{else}--><li class><a href="{url category/view/$cid/5}"><h3>零回答</h3></a></li><!--{/if}-->
		</ul>
	</div>
	<div class="listCont">
		<div id="mid_content_panel">
			<div class="pages">{$departstr}</div>
			<table cellspacing="0" cellpadding="0" width="96%">
				<tr>
					<th width="60%">问题</th>
					<th width="20%">提问时间</th>
					<th width="10%">状态</th>
					<th width="10%">回答数</th>
				</tr>
				<!--{loop $questionlist $index $question}-->
				<!--{if $index%2}-->
				<tr class>
					<td class="qstTitle">
					<!--{if $question['price']}-->
						<span class="score">{$question['price']}</span>
					<!--{/if}-->
						<a target="_blank" href="{$question['url']}">{$question['title']}</a><small><a target="_blank" href="{url category/view/$question['cid']}">[{$question['category_name']}]</a></small>
					</td>
					<td class="num">{$question['format_time']}</td>
					<td><img  src="{SITE_URL}css/default/icn_{$question['status']}.gif"></td>
					<td class="num">{$question['answers']}</td>
				</tr>
				<!--{else}-->
				<tr class="bg">
				<td class="qstTitle">
					<!--{if $question['price']}-->
						<span class="score">{$question['price']}</span>
					<!--{/if}-->
						<a target="_blank" href="{$question['url']}">{$question['title']}</a><small><a target="_blank" href="{url category/view/$question['cid']}">[{$question['category_name']}]</a></small>
					</td>
					<td class="num">{$question['format_time']}</td>
					<td><img  src="{SITE_URL}css/default/icn_{$question['status']}.gif"></td>
					<td class="num">{$question['answers']}</td>
				</tr>
				<!--{/if}-->
			<!--{/loop}-->
			</table>
			<div class="pages">{$departstr}</div>
		</div>
	</div>
</div>
 
{template footer}